#include <stdio.h>

#include <algorithm>
#include <vector>
using namespace std;

int main() {
  int n;
  scanf("%d", &n);
  vector<int> A;
  A.resize(n);
  for (int i = 0; i < n; ++i) {
    scanf("%d", &A[i]);
  }
  sort(A.begin(), A.end());
  for (int i = 0; i < n; ++i) {
    printf("%d%s", A[i], (i == n - 1 ? "\n" : " "));
  }
  return 0;
}